package com.jianan.mis.service;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.jianan.mis.data.dao.base.PageControl;
import com.jianan.mis.data.domain.OsConsultation;

public interface OsConsultationService {

	public Serializable save(OsConsultation osConsultation);

	public void update(OsConsultation osConsultation);

	public void remove(OsConsultation osConsultation);

	public List<OsConsultation> getAll();

	public List<OsConsultation> getByStates(int[] states);

	public void pageQuery(PageControl pageControl, Map conditions);
	
	public List getStat(int groupType, int timeType, Date time);
	
	public void updateExpired();
}
